<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head th:include="include/css-head :: css-head">
</head>
<body>
<section class="content-header">
  <h1>
    <small></small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i>统计管理</a></li>
    <li class="active">答题排名</li>
  </ol>
</section>

<!-- Main content -->
<section class="content">
	 <div class="box">
            <div class="box-header">
              <h3 class="box-title">答题排名</h3>
              <br><br>
			  <div class="clear"></div>
			</div>
            <div class="box-body">
              <table id="dataList" class="table table-bordered table-striped">
                <thead>
	                <tr>
	                    <th width="80px;">序号</th>
						<th width="80px;">排名</th>
						<th width="150px;">姓名</th>
						<th width="250px;">所属单位</th>
						<th width="100px;">电话</th>
						<th width="100px;">分数</th>
						<th width="100px;">用时</th>
	                </tr>
                </thead>
                <tbody>
				<tr th:each="one,stat:${result.data.list}">
					<td th:text="${one.rownum}">序号</td>
					<td th:text="${one.rank}">排名</td>
					<td th:text="${one.name}">姓名</td>
					<td th:text="${one.company}">所属单位</td>
					<td th:text="${one.phone}">电话</td>
					<td th:text="${one.score}">分数</td>
					<td th:text="${one.use_time}">用时</td>
				</tr>
				<tr>
					<td height="30" colspan="8">
						<!--分页-->
						<div class="footer_style1">
							<span>共有<strong th:text="${result.data.recordsTotal}"></strong>条记录，当前第<strong><th:block th:text="${result.data.draw}"></th:block>/<th:block th:text="${result.data.totalpage}"></th:block></strong>页</span>
							<ul class="ul_style3">
								<li th:if="${result.data.draw eq 1}">
									<a>首页</a>
									<a>上一页</a>
								</li>
								<li th:if="${result.data.draw ne 1}">
									<a th:href="@{/staff/cslist(pageNo=1)}">首页</a>
									<a th:href="@{/staff/cslist(pageNo=${result.data.draw - 1},name=${name})}">上一页</a>
								</li>
								<li th:if="${result.data.draw eq result.data.totalpage}">
									<a>下一页</a>
									<a>尾页</a>
								</li>
								<li th:if="${result.data.draw ne result.data.totalpage}">
									<a th:href="@{/staff/cslist(pageNo=${result.data.draw + 1},name=${name})}">下一页</a>
									<a th:href="@{/staff/cslist(pageNo=${result.data.totalpage},name=${name})}">尾页</a>
								</li>
							</ul>
						</div>

						<!--分页 end-->
					</td>
				</tr>
                </tbody>
                </table>
			</div>
	 </div>
	 </div>
</section>
<script src="/static/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/static/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/static/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="/static/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="/static/dist/js/adminlte.min.js"></script>
<script src="/static/js/path.js"></script>
</body>
</html>
